//
//  NSObject+DY_EncryptionTools.h
//  deciphering
//
//  Created by LXF on 16/5/16.
//  Copyright © 2016年 LXF. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (DY_EncryptionTools)

/// 明文 生成 密文 1
-(instancetype)dy_encryption1;

/// 密文1 调用 生成 密文2
-(instancetype)dy_encryption2_0ByDate:(NSString *)dateStamp;

/// 明文 调用 生成 密文2
-(instancetype)dy_encryption2_1ByDate:(NSString *)dateStamp;

/// 请求头
+(instancetype)dy_generateHmacAuthCodeWithDeviceID:(NSString *)deviceID date:(NSString *)deviceTimestamp userID:(NSString *)currentUserID accesstoken:(NSString *)accesstoken;

@end
